package com.antaohua.platfrom.system.controller;

import com.antaohua.platfrom.framework.base.interfase.BaseService;
import com.antaohua.platfrom.framework.web.controller.BaseController;
import com.antaohua.platfrom.system.entity.SysRoleEntity;
import com.antaohua.platfrom.system.service.SysRoleService;
import com.antaohua.platfrom.system.service.SysRoleServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("sys/role")
public class SysRoleController extends BaseController<SysRoleEntity>{

	
	@Autowired
	private SysRoleService areaService;
	
	@Override
	protected BaseService<SysRoleEntity> getService() {
		return this.areaService;
	}
}
